﻿<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
    <head>
		<meta charset="utf-8" />
		<title>百里半 ERP系统  </title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link th:href="@{/erp/assets/css/bootstrap.min.css}" rel="stylesheet" />

    <link rel="stylesheet" th:href="@{/erp/assets/css/font-awesome.min.css}"/>
    <!--[if IE 7]>
    <link rel="stylesheet" th:href="@{/erp/assets/css/font-awesome-ie7.min.css}"/>
    <![endif]-->
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace.min.css}"/>
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace-rtl.min.css}"/>
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace-skins.min.css}"/>
    <link rel="stylesheet" th:href="@{/erp/css/style.css}"/>
    <!--[if lte IE 8]>
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace-ie.min.css}"/>
    <![endif]-->
    <script th:src="@{/erp/assets/js/ace-extra.min.js}"></script>
    <!--[if lt IE 9]>
    <script th:src="@{/erp/assets/js/html5shiv.js}"></script>
    <script th:src="@{/erp/assets/js/respond.min.js}"></script>
    <![endif]-->
    <!--[if !IE]> -->
    <script th:src="@{/erp/js/jquery-1.9.1.min.js}"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script type="text/javascript">window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>" + "<" + "script>");</script>
    <![endif]-->
    <script type="text/javascript">
        if ("ontouchend" in document) document.write("<script th:src=\"@{/erp/assets/js/jquery.mobile.custom.min.js}\">" + "<" + "script>");
    </script>
    <script th:src="@{/erp/assets/js/bootstrap.min.js}"></script>
    <script th:src="@{/erp/assets/js/typeahead-bs2.min.js}"></script>
    <!--[if lte IE 8]>
    <script th:src="@{/erp/assets/js/excanvas.min.js}"></script>
    <![endif]-->
    <script th:src="@{/erp/assets/js/ace-elements.min.js}"></script>
    <script th:src="@{/erp/assets/js/ace.min.js}"></script>
    <script th:src="@{/erp/assets/layer/layer.js}" type="text/javascript"></script>
    <script th:src="@{/erp/assets/laydate/laydate.js}" type="text/javascript"></script>
    <script th:src="@{/erp/js/jquery.nicescroll.js}" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            var cid = $('#nav_list> li>.submenu');
            cid.each(function (i) {
                $(this).attr('id', "Sort_link_" + i);

            })
        })

        $(function () {
            customer();
            sale();
            warehouse();
            production();
            commodity();
            purchase();
        })

        //客户模块的消息数
        function customer(){
            var Customer=0;
            //判断公司审核未处理的信息数量
            $.ajax({
                url:'/index/clientAudit',
                data:{},
                async:false,
                success:function (d) {
                    if(d>0){
                        Customer=d;
                        $('#clientele_auditing').append('<span class="badge badge-danger">'+d+'</span>')
                    }
                    else{
                        $('#clientele_auditing').append('<span class="badge badge-danger"></span>')
                    }
                }
            })

            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/apply',
                data:{},
                success:function (d) {
                    if(d>0){
                        Customer=Customer+d;
                        $('#clientele_cooperat').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#customer').append('<span class="badge badge-danger">'+Customer+'</span>')
                    }
                    else{
                        $('#clientele_cooperat').append('<span class="badge badge-danger"></span>')
                        if(Customer>0){
                            $('#customer').append('<span class="badge badge-danger">'+Customer+'</span>')
                        }
                    }
                }
            })
        }

        //销售模块的消息数
        function sale(){

            var Sale =0;

            //判断还未排单的数量
            $.ajax({
                url:'/index/OrderSheet',
                data:{},
                async:false,
                success:function (d) {
                    if(d>0){
                        Sale=d;
                        $('#Ordersheet').append('<span class="badge badge-danger">'+d+'</span>')
                    }
                    else{
                        $('#Ordersheet').append('<span class="badge badge-danger"></span>')
                    }
                }
            })

            //判断订单的待发货的数量
            $.ajax({
                url:'/index/OrderList',
                data:{},
                success:function (d) {
                    if(d>0){
                        Sale=Sale+d;
                        $('#Orderlist').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#Sale').append('<span class="badge badge-danger">'+Sale+'</span>')
                    }
                    else{
                        $('#Orderlist').append('<span class="badge badge-danger"></span>')
                        if(Sale>0){
                            $('#Sale').append('<span class="badge badge-danger">'+Sale+'</span>')
                        }

                    }
                }
            })

        }

        //生产模块的待生产订单的数量
        function production(){
            var Production =0;

            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/production',
                data:{},
                success:function (d) {
                    if(d>0){
                        Production=Production+d;
                        $('#pendingProduction').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#production').append('<span class="badge badge-danger">'+Production+'</span>')
                    }
                    else{
                        $('#pendingProduction').append('<span class="badge badge-danger"></span>')
                        $('#production').append('<span class="badge badge-danger"></span>')
                    }
                }
            })

        }

        //仓库管理的交接单数量
        function warehouse(){
            var Warehouse =0;

            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/handoverList',
                data:{},
                async:false,
                success:function (d) {
                    if(d>0){
                        Warehouse=Warehouse+d;
                        $('#Warehousing').append('<span class="badge badge-danger">'+d+'</span>')
                    }
                    else{
                        $('#Warehousing').append('<span class="badge badge-danger"></span>')
                    }
                }
            })

            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/StockWarning',
                data:{},
                success:function (d) {
                    if(d>0){
                        Warehouse=Warehouse+d;
                        $('#stockWarning').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#Warehouse').append('<span class="badge badge-danger">'+Warehouse+'</span>')
                    }
                    else{
                        $('#stockWarning').append('<span class="badge badge-danger"></span>')
                        if(Warehouse>0){
                            $('#Warehouse').append('<span class="badge badge-danger">'+Warehouse+'</span>')
                        }
                    }
                }
            })
        }

        function commodity(){
            var commodity =0;

            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/commodityAudit',
                data:{},
                success:function (d) {
                    if(d>0){
                        commodity=commodity+d;
                        $('#Commodityaudit').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#commodity').append('<span class="badge badge-danger">'+commodity+'</span>')
                    }
                    else{
                        $('#Commodityaudit').append('<span class="badge badge-danger"></span>')
                        $('#commodity').append('<span class="badge badge-danger"></span>')
                    }
                }
            })
        }

        function purchase(){
            var purchase =0;
            //判断公司已申请但是为被通过或拒绝的
            $.ajax({
                url:'/index/purchaseAudit',
                data:{},
                success:function (d) {
                    if(d>0){
                        purchase=purchase+d;
                        $('#purchase01').append('<span class="badge badge-danger">'+d+'</span>')
                        $('#purchase').append('<span class="badge badge-danger">'+purchase+'</span>')
                    }
                    else{
                        $('#purchase01').append('<span class="badge badge-danger"></span>')
                        $('#purchase').append('<span class="badge badge-danger"></span>')
                    }
                }
            })
         }

        jQuery(document).ready(function () {
            $.each($(".submenu"), function () {
                var $aobjs = $(this).children("li");
                var rowCount = $aobjs.size();
                var divHeigth = $(this).height();
                $aobjs.height(divHeigth / rowCount);
            });
            //初始化宽度、高度

            $("#main-container").height($(window).height() - 76);
            $("#iframe").height($(window).height() - 140);

            $(".sidebar").height($(window).height() - 99);
            var thisHeight = $("#nav_list").height($(window).outerHeight() - 173);
            $(".submenu").height();
            $("#nav_list").children(".submenu").css("height", thisHeight);

            //当文档窗口发生改变时 触发
            $(window).resize(function () {
                $("#main-container").height($(window).height() - 76);
                $("#iframe").height($(window).height() - 140);
                $(".sidebar").height($(window).height() - 99);

                var thisHeight = $("#nav_list").height($(window).outerHeight() - 173);
                $(".submenu").height();
                $("#nav_list").children(".submenu").css("height", thisHeight);
            });
            $(document).on('click', '.iframeurl', function () {
                var cid = $(this).attr("name");
                var cname = $(this).attr("title");
                $("#iframe").attr("src", cid).ready();
                $("#Bcrumbs").attr("href", cid).ready();
                $(".Current_page a").attr('href', cid).ready();
                $(".Current_page").attr('name', cid);
                $(".Current_page").html(cname).css({"color": "#333333", "cursor": "default"}).ready();
                $("#parentIframe").html('<span class="parentIframe iframeurl"> </span>').css("display", "none").ready();
                $("#parentIfour").html('').css("display", "none").ready();
            });


        });
        /******/
        $(document).on('click', '.link_cz > li', function () {
            $('.link_cz > li').removeClass('active');
            $(this).addClass('active');
        });


        /*********************点击事件*********************/
        $(document).ready(function () {
            $('#nav_list,.link_cz').find('li.home').on('click', function () {
                $('#nav_list,.link_cz').find('li.home').removeClass('active');
                $(this).addClass('active');
            });
        //时间设置

        //修改密码
            $('.change_Password').on('click', function () {
                layer.open({
                    type: 1,
                    title: '修改密码',
                    area: ['300px', '300px'],
                    shadeClose: true,
                    content: $('#change_Pass'),
                    btn: ['确认修改'],
                    yes: function (index, layero) {
                        if ($("#password").val() == "") {
                            layer.alert('原密码不能为空!', {
                                title: '提示框',
                                icon: 0,

                            });
                            return false;
                        }
                        if ($("#Nes_pas").val() == "") {
                            layer.alert('新密码不能为空!', {
                                title: '提示框',
                                icon: 0,

                            });
                            return false;
                        }

                        if ($("#c_mew_pas").val() == "") {
                            layer.alert('确认新密码不能为空!', {
                                title: '提示框',
                                icon: 0,

                            });
                            return false;
                        }
                        if (!$("#c_mew_pas").val || $("#c_mew_pas").val() != $("#Nes_pas").val()) {
                            layer.alert('密码不一致!', {
                                title: '提示框',
                                icon: 0,

                            });
                            return false;
                        } else {
                            layer.alert('修改成功！', {
                                title: '提示框',
                                icon: 1,
                            });
                            layer.close(index);
                        }
                    }
                });
            });
            $('#Exit_system').on('click', function () {
                layer.confirm('是否确定退出系统？', {
                        btn: ['是', '否'],//按钮
                        icon: 2,
                    },
                    function () {
                        location.href = "logout";

                    });
            });
        });

        function link_operating(name, title) {
            var cid = $(this).name;
            var cname = $(this).title;
            $("#iframe").attr("src", cid).ready();
            $("#Bcrumbs").attr("href", cid).ready();
            $(".Current_page a").attr('href', cid).ready();
            $(".Current_page").attr('name', cid);
            $(".Current_page").html(cname).css({"color": "#333333", "cursor": "default"}).ready();
            $("#parentIframe").html('<span class="parentIframe iframeurl"> </span>').css("display", "none").ready();
            $("#parentIfour").html('').css("display", "none").ready();


        }
    </script>
</head>
<body>
<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>
    <div class="navbar-container" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="#" class="navbar-brand" id="erp">
                <small id="tupian" >
                    <img th:src="@{/erp/images/logo.png}" width="470px">
                </small>
            </a><!-- /.brand -->
        </div><!-- /.navbar-header -->
        <div class="navbar-header operating pull-left">

        </div>
        <div class="navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">
                <li>
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
				 <span class="user-info" th:text="${user.userName}">
				 <i class="icon-caret-down"></i></span>
                    </a>
                    <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li><a href="javascript:void(0)" name="admininfo" title="个人信息" class="iframeurl"><i
                                class="icon-user"></i>个人资料</a></li>
                        <li class="divider"></li>
                        <li><a href="javascript:void(0)" id="Exit_system"><i class="icon-off"></i>退出</a></li>
                    </ul>
                </li>
                <li>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-bell-alt"></i><span
                            class="badge badge-important">8</span></a>
                    <ul class="pull-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                        <li class="dropdown-header"><i class="icon-warning-sign"></i>8条通知</li>
                        <li>
                            <a href="#">
                                <div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-pink icon-comments-alt"></i>
												最新消息
											</span>
                                    <span class="pull-right badge badge-info">+12</span>
                                </div>
                            </a>
                        </li>

                        <li>
                            <a href="#">
                                <i class="btn btn-xs btn-primary icon-user"></i>
                                切换为编辑登录..
                            </a>
                        </li>

                        <li>
                            <a href="#">
                                <div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-success icon-shopping-cart"></i>
												新订单
											</span>
                                    <span class="pull-right badge badge-success">+8</span>
                                </div>
                            </a>
                        </li>

                        <li>
                            <a href="#">
                                <div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-info icon-twitter"></i>
												用户消息
											</span>
                                    <span class="pull-right badge badge-info">+11</span>
                                </div>
                            </a>
                        </li>

                        <li>
                            <a href="#">
                                查看所有通知
                                <i class="icon-arrow-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- <div class="right_info">

               <div class="get_time" ><span id="time" class="time"></span>欢迎光临,管理员</span></div>
                <ul class="nav ace-nav">
                    <li><a href="javascript:ovid(0)" class="change_Password">修改密码</a></li>
                    <li><a href="javascript:ovid(0)" id="Exit_system">退出系统</a></li>

                </ul>
            </div>-->
        </div>
    </div>
</div>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#">
            <span class="menu-text"></span>
        </a>
        <div class="sidebar" id="sidebar">
            <script type="text/javascript">
                try {
                    ace.settings.check('sidebar', 'fixed')
                } catch (e) {
                }
            </script>
            <div class="sidebar-shortcuts" id="sidebar-shortcuts">

                <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                    <span class="btn btn-success"></span>

                    <span class="btn btn-info"></span>

                    <span class="btn btn-warning"></span>

                    <span class="btn btn-danger"></span>
                </div>
            </div><!-- #sidebar-shortcuts -->
            <div id="menu_style" class="menu_style">
                <ul class="nav nav-list" id="nav_list">
                    <li class="home"><a href="javascript:void(0)" name="gohome" class="iframeurl" title=""><i
                            class="icon-home"></i><span class="menu-text"> 系统首页 </span></a></li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='sghsrgaf'}?true:false" ><a href="#" class="dropdown-toggle"><i class="icon-user"></i><span
                            class="menu-text"> 人事管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='asdasd'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>部门管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='saegrsaer'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>员工管理</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='product'}?true:false"><a href="#" class="dropdown-toggle" id="commodity"><i class="icon-gift"></i><span
                            class="menu-text"> 商品管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='categories'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>分类管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='products'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>商品管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='productCheck'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="Commodityaudit"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>商品审核</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='supplier'}?true:false"><a href="#" class="dropdown-toggle"><i class="icon-inbox"></i><span
                            class="menu-text"> 供应商管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='my_supplier'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>我的供应商</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='customer5'}?true:false"><a href="#" class="dropdown-toggle" id="customer"><i class="icon-group"></i><span
                            class="menu-text"> 客户管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='xxxx'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>我的客户</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='parapply'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="clientele_cooperat"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>合作关系申请</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='paraudit'}?true:false"><a href="javascript:void(0)"  th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="clientele_auditing"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>合作关系审核</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='shopping'}?true:false"><a href="#" class="dropdown-toggle" id="purchase"><i class="icon-shopping-cart"></i><span class="menu-text"> 采购管理 </span><b
                            class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='qwer'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>在线下单</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='my_shopping'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="purchase01"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>采购申请列表</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='order'}?true:false"><a href="#" class="dropdown-toggle" id="Sale"><i class="icon-money"></i><span
                            class="menu-text"> 销售管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='orderlist'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="Orderlist"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>订单列表</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='ordersort'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="Ordersheet"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>订单排单</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='production'}?true:false"><a href="#" class="dropdown-toggle" id="production"><i class="icon-beaker"></i><span
                            class="menu-text"> 生产管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='productionLine'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i
                                    class="icon-double-angle-right"></i>生产线产能设置</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='pendingOrder'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="pendingProduction"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>待生产订单</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='productionAAA'}?true:false"><a href="javascript:void(0)"  th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>激光打印机管理</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='productionBBB'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>激光码管理</a></li>

                            <!--别删掉我的产品交接单-->
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='9527'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>产品交接单</a></li>

						</ul>
					</li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='ware'}?true:false"><a href="#" class="dropdown-toggle" id="Warehouse"><i class="icon-signin"></i><span
                            class="menu-text"> 仓库管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='wareManage'}?true:false"><a href="javascript:void(0)"  th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>仓库设置</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='cargoareaManage'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>库区管理</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='shelvesmanage'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>货架管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='cargomanage'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>货位管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='inventoryCheck'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>库存查询</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='inOutManage'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="Warehousing"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>出入库管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='wareTransfer'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>库存移库</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='warning'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}" id="stockWarning"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>库存预警提醒</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='777'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>订单发货</a></li>
                        </ul>
                    </li>
                    <li th:each="menu:${menus}" th:if="${menu.id=='logistic'}?true:false"><a href="#" class="dropdown-toggle"><i class="icon-plane"></i><span
                            class="menu-text"> 物流管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='logisticcompany'}?true:false"><a href="javascript:void(0)"  th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i
                                    class="icon-double-angle-right"></i>物流公司信息管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='logisticCar'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>车辆管理</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='logisticDriver'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>驾驶员管理</a>
                            </li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='logisticJieSuan'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                 class="iframeurl"><i class="icon-double-angle-right"></i>物流结算</a>
                            </li>
                        </ul>
                    </li>


                    <li th:each="menu:${menus}" th:if="${menu.id=='4396'}?true:false"><a href="#" class="dropdown-toggle"><i class="icon-leaf"></i><span
                            class="menu-text"> 质量追溯 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='qaegfqwr'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>生产过程查询</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='2800'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>产品防伪查询</a></li>
                        </ul>
                    </li>


                    <li th:each="menu:${menus}" th:if="${menu.id=='system'}?true:false"><a href="#" class="dropdown-toggle"><i class="icon-cog"></i><span
                            class="menu-text"> 系统设置 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">

                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='role'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>角色管理</a></li>
                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='rolepermission'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>角色权限管理</a></li>

                        </ul>
                    </li>


                    <li th:each="menu:${menus}" th:if="${menu.id=='3434ere'}?true:false"><a href="#" class="dropdown-toggle"><i class="icon-cog"></i><span
                            class="menu-text"> 平台管理 </span><b class="arrow icon-angle-down"></b></a>
                        <ul class="submenu">

                            <li class="home" th:each="menu1:${menu.list}" th:if="${menu1.id=='kknkk'}?true:false"><a href="javascript:void(0)" th:name="${menu1.menuUrl}" th:title="${menu1.menuName}"
                                                class="iframeurl"><i class="icon-double-angle-right"></i>企业账号管理</a></li>


                        </ul>
                    </li>


                </ul>
            </div>
            <script type="text/javascript">
                $("#menu_style").niceScroll({
                    cursorcolor: "#888888",
                    cursoropacitymax: 1,
                    touchbehavior: false,
                    cursorwidth: "5px",
                    cursorborder: "0",
                    cursorborderradius: "5px"
                });
            </script>
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left"
                   data-icon2="icon-double-angle-right"></i>
            </div>
            <script type="text/javascript">
                try {
                    ace.settings.check('sidebar', 'collapsed')
                } catch (e) {
                }
            </script>
        </div>

        <div class="main-content">
            <script type="text/javascript">
                try {
                    ace.settings.check('breadcrumbs', 'fixed')
                } catch (e) {
                }
            </script>
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li>
                        <i class="icon-home home-icon"></i>
                        <a href="#" id="首页">首页</a>
                    </li>
                    <li class="active"><span class="Current_page iframeurl"></span></li>
                    <li class="active" id="parentIframe"><span class="parentIframe iframeurl"></span></li>
                    <li class="active" id="parentIfour"><span class="parentIfour iframeurl"></span></li>
                </ul>
            </div>

            <iframe id="iframe" style="border:0; width:100%; background-color:#FFF;" name="iframe" frameborder="0"
                    src="home"></iframe>


            <!-- /.page-content -->
        </div><!-- /.main-content -->
    </div><!-- /.main-container-inner -->

</div>
<!--底部样式-->

<div class="footer_style" id="footerstyle">
    <script type="text/javascript">try {
        ace.settings.check('footerstyle', 'fixed')
    } catch (e) {
    }</script>
    <p class="l_f">版权所有：武汉百里半 </p>
    <p class="r_f">地址：光谷软件园D8栋 邮编：430000 技术支持：XXXX</p>
</div>
<!--修改密码样式-->
<div class="change_Pass_style" id="change_Pass">
    <ul class="xg_style">
        <li><label class="label_name">原&nbsp;&nbsp;密&nbsp;码</label><input name="原密码" type="password" class=""
                                                                          id="password"></li>
        <li><label class="label_name">新&nbsp;&nbsp;密&nbsp;码</label><input name="新密码" type="password" class=""
                                                                          id="Nes_pas"></li>
        <li><label class="label_name">确认密码</label><input name="再次确认密码" type="password" class="" id="c_mew_pas"></li>
    </ul>
</div>
<script>
    $('#首页').on('click', function() {
        /*window.parent.document.getElementById('iframe').contentWindow.location.reload(true);*/
        top.location.reload();
    })
    $('#erp').on('click', function() {
        /*window.parent.document.getElementById('iframe').contentWindow.location.reload(true);*/
        top.location.reload();
    })
</script>
</body>
</html>

